home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_analog.idb / usr / freeware / src / analog / patches.z / patches
Encoding:
Text File  |  1998-10-28  |  5.6 KB  |  149 lines

  1. *** ./anlgform.c    Sun Jun 14 09:05:26 1998
  2. --- ../analog3.0/./anlgform.c    Tue Aug 25 19:06:44 1998
  3. ***************
  4. *** 1,7 ****
  5.   /* anlgform.c 3.0 -- a cgi front end for analog */
  6.   
  7.   /* You must uncomment the next line, and put where the analog executable is */
  8. ! /* #define ANALOG "/usr/local/etc/httpd/analog/analog" */
  9.   
  10.   #include <string.h>
  11.   #include <ctype.h>
  12. --- 1,7 ----
  13.   /* anlgform.c 3.0 -- a cgi front end for analog */
  14.   
  15.   /* You must uncomment the next line, and put where the analog executable is */
  16. ! #define ANALOG "/usr/freeware/bin/analog"
  17.   
  18.   #include <string.h>
  19.   #include <ctype.h>
  20. *** ./Makefile    Mon Jun 15 10:57:00 1998
  21. --- ../analog3.0/./Makefile    Tue Aug 25 19:06:44 1998
  22. ***************
  23. *** 1,14 ****
  24.   # Makefile for analog 3.0
  25.   # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
  26. ! CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
  27.   #                    compilers need different CFLAGS, e.g., -O instead of -O2.
  28. ! CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
  29.   #                    HP/UX cc needs -Aa
  30.   #                    Some Linuces might need -I/usr/src/linux/include
  31. ! DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
  32.   OS = UNIX          # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
  33.   #                    RISCOS, BEOS, BS2000
  34. ! LIBS =             # extra libraries needed; Solaris 2 (SunOS 5) needs
  35.   #                    LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
  36.   #                    IRIX reportedly needs LIBS = -lc
  37.   #                    OS/2 with EMX requires LIBS = -lsocket; so does BS2000/OSD
  38. --- 1,14 ----
  39.   # Makefile for analog 3.0
  40.   # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
  41. ! #CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
  42.   #                    compilers need different CFLAGS, e.g., -O instead of -O2.
  43. ! #CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
  44.   #                    HP/UX cc needs -Aa
  45.   #                    Some Linuces might need -I/usr/src/linux/include
  46. ! #DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
  47.   OS = UNIX          # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
  48.   #                    RISCOS, BEOS, BS2000
  49. ! #LIBS =             # extra libraries needed; Solaris 2 (SunOS 5) needs
  50.   #                    LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
  51.   #                    IRIX reportedly needs LIBS = -lc
  52.   #                    OS/2 with EMX requires LIBS = -lsocket; so does BS2000/OSD
  53. ***************
  54. *** 26,31 ****
  55. --- 26,35 ----
  56.   # Form interface options:
  57.   FORMPROG = anlgform.cgi     # The program that processes the data from the form
  58.   FORMSRC = anlgform.c        # The source code for that program
  59. + # SGI Freeware -- added master target
  60. + TARGETS = $(PROGRAM) $(FORMPROG)
  61. + all: $(TARGETS)
  62.   
  63.   $(PROGRAM): $(OBJS) $(HEADERS) Makefile
  64.       $(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
  65. *** ./analhead.h    Sun Jun 14 09:05:08 1998
  66. --- ../analog3.0/./analhead.h    Tue Aug 25 19:11:15 1998
  67. ***************
  68. *** 18,25 ****
  69. --- 18,33 ----
  70.   /* the URL of your host's home page, for linking to at the top of the
  71.      output; use "none" for no linking. */
  72.   
  73. + /*
  74.   #define HTTPDIR "/usr/local/etc/httpd/"
  75.   #define ANALOGDIR HTTPDIR"analog/"
  76. + */
  77. + /*** SGI Freeware ***/
  78. + #define HTTPDIR "/usr/freeware/apache/"
  79. + #define ANALOGSHAREDIR "/usr/freeware/share/analog/"
  80. + #define ANALOGETCDIR "/usr/freeware/etc/"
  81. + #define ANALOGVARDIR "/var/tmp/"
  82.   /* The directories where your HTTP stuff lives and where your analog stuff
  83.      lives. You don't really need these; they are just used in this file to
  84.      build up other filenames. Note how you can stick together names by
  85. ***************
  86. *** 26,47 ****
  87. --- 34,75 ----
  88.      just putting them next to each other; e.g., ANALOGDIR is defined as
  89.      HTTPDIR"analog/", which becomes "/usr/local/etc/httpd/analog/" */
  90.   
  91. + /*
  92.   #define DOMAINSFILE ANALOGDIR"domains.tab"
  93. + */
  94. + /*** SGI Freeware ***/
  95. + #define DOMAINSFILE ANALOGSHAREDIR"domains.tab"
  96.   /* the file where the domain definitions live; see docs/domfile.html */
  97.   
  98. + /*
  99.   #define LOGFILE HTTPDIR"logs/access_log"
  100. + */
  101. + /*** SGI Freeware ***/
  102. + #define LOGFILE HTTPDIR"var/log/access_log"
  103.   /* The name of the default logfile. Can be a list, separated by commas
  104.      (but no spaces), and can include wild cards. */
  105.   
  106. + /*
  107.   #define IMAGEDIR "images/"
  108. + */
  109. + /*** SGI Freeware ***/
  110. + #define IMAGEDIR ANALOGSHAREDIR"images/"
  111.   /* URL of the directory where the images for the graphical reports live.
  112.      The URL can be absolute, or relative to the output page: e.g., just the
  113.      empty string "" for the same directory as the output page. */
  114.   
  115. + /*
  116.   #define LANGDIR ANALOGDIR"lang/"
  117. + */
  118. + /*** SGI Freeware ***/
  119. + #define LANGDIR ANALOGSHAREDIR"lang/"
  120.   /* Directory where the language files live. */
  121.   
  122. + /*
  123.   #define DEFAULTCONFIGFILE ANALOGDIR"analog.cfg"
  124. + */
  125. + /*** SGI Freeware ***/
  126. + #define DEFAULTCONFIGFILE ANALOGETCDIR"analog.cfg"
  127.   /* the name of the default configuration file; see README.html for a
  128.      description of this file. Use "none" for no configuration file. */
  129.   
  130. ***************
  131. *** 90,96 ****
  132.   /* The file for cache input. Again, can be "none". */
  133.   
  134.   #ifndef NODNS
  135. ! #define DNSFILE ANALOGDIR"dnscache"
  136.   /* where to store resolved addresses so we don't have to look them up next
  137.      time */
  138.   
  139. --- 118,124 ----
  140.   /* The file for cache input. Again, can be "none". */
  141.   
  142.   #ifndef NODNS
  143. ! #define DNSFILE ANALOGVARDIR"dnscache"
  144.   /* where to store resolved addresses so we don't have to look them up next
  145.      time */
  146.   
  147.